#ifndef _CINDICATOR_VOL_H
#define _CINDICATOR_VOL_H
namespace GSTrader
{
	namespace Indicator
	{
		class INDICATOR_API VOL : public CIndicator
		{
		public:
			VOL();
			virtual ~VOL();
			virtual CIndicator* CreateInstance();

			virtual void SetParam(double* pdParam);
			virtual double Calculate(int nIndex);
			virtual void RefreshData();
			void CalcVolMa(int nIndex, int nLineIndex, CDataSeries* pInput);

		private:
			int m_nLines;
			int* m_piLength;	
		};
	}
}
#endif // _CINDICATOR_VOL_H

